@layout("/common/_form.html",{js:["/assets/demos/bKeywordAutoBack/bKeywordAutoBack_add.js"]}){

<style>

.msg-info{
	display:block;
}

.msg-info.text .field-title{
	display:none;
}

.msg-info.text .field-context{
	display:block;
}

.msg-info.text .field-videoUrl{
	display:none;
}

.msg-info.text .field-iamgeUrl{
	display:none;
}

.msg-info.text .field-url{
	display:none;
}

.msg-info.image .field-title{
	display:none;
}

.msg-info.image .field-context{
	display:none;
}

.msg-info.image .field-videoUrl{
	display:none;
}

.msg-info.image .field-iamgeUrl{
	display:block;
}

.msg-info.image .field-url{
	display:none;
}




.msg-info.video .field-title{
	display:none;
}

.msg-info.video .field-context{
	display:none;
}

.msg-info.video .field-videoUrl{
	display:block;
}

.msg-info.video .field-iamgeUrl{
	display:none;
}

.msg-info.video .field-url{
	display:none;
}


.msg-info.article .field-title{
	display:block;
}

.msg-info.article .field-context{
	display:block;
}

.msg-info.article .field-videoUrl{
	display:none;
}

.msg-info.article .field-iamgeUrl{
	display:block;
}

.msg-info.article .field-url{
	display:block;
}

</style>

<form class="layui-form" id="bKeywordAutoBackForm" lay-filter="bKeywordAutoBackForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">微信AppId<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="appId" name="appId" placeholder="请输入微信AppId" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">关键字<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="keyworld" name="keyworld" placeholder="请输入关键字" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    
  
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">匹配类型<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                        	<input type="radio" name="matchType" value="any" title="任意匹配" checked="">
                        	<input type="radio" name="matchType" value="eq" title="全匹配">
						    <input type="radio" name="matchType" value="front" title="前缀匹配">
						    <input type="radio" name="matchType" value="back" title="后缀匹配">
                        <!-- 
                            <input id="matchType" name="matchType" placeholder="请输入匹配类型" type="text" class="layui-input" lay-verify="required" required/>
                         -->
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">返回类型<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                        	<input type="radio" name="returnType" lay-filter="returnType" value="text" title="文本" checked="">
                        	<input type="radio" name="returnType" lay-filter="returnType" value="image" title="图片">
						    <input type="radio" name="returnType" lay-filter="returnType"  value="video" title="视频">
						    <input type="radio" name="returnType" lay-filter="returnType"  value="article" title="图文">
                        	<!-- 
                            <input id="returnType" name="returnType" placeholder="请输入返回类型" type="text" class="layui-input" lay-verify="required" required/>
                       		-->
                        </div>
                    </div>
                    <div class="msg-info text">
                    	
	                    <div class="layui-inline layui-col-md12 field-title">
	                        <label class="layui-form-label">标题</label>
	                        <div class="layui-input-block">
	                            <input id="title" name="title" placeholder="请输入标题" type="text" class="layui-input"/>
	                        </div>
	                    </div>
	                    <div class="layui-inline layui-col-md12 field-context">
	                        <label class="layui-form-label">内容</label>
	                        <div class="layui-input-block">
	                            <input id="context" name="context" placeholder="请输入内容" type="text" class="layui-input"/>
	                        </div>
	                    </div>
	                    
	                    <div class="layui-inline layui-col-md12 field-videoUrl">
	                        <label class="layui-form-label">视频地址</label>
	                        <div class="layui-input-block">
	                            <input id="videoUrl" name="videoUrl" placeholder="请输入视频地址" type="text" class="layui-input"/>
	                        </div>
	                    </div>
	                    <div class="layui-inline layui-col-md12 field-iamgeUrl">
	                        <label class="layui-form-label">图片地址</label>
	                        <div class="layui-input-block">
	                            <input id="iamgeUrl" name="iamgeUrl" placeholder="请输入图片地址" type="text" class="layui-input"/>
	                        </div>
	                    </div>
	                    <div class="layui-inline layui-col-md12 field-url">
	                        <label class="layui-form-label">跳转地址</label>
	                        <div class="layui-input-block">
	                            <input id="url" name="url" placeholder="请输入跳转地址" type="text" class="layui-input"/>
	                        </div>
	                    </div>
	                   
                    </div>
                    <!-- 
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">更新时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="updateTime" name="updateTime" placeholder="请输入更新时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">更新者<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="updateUser" name="updateUser" placeholder="请输入更新者" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">创建时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="createTime" name="createTime" placeholder="请输入创建时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">创建者<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="createUser" name="createUser" placeholder="请输入创建者" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                     -->
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}